package cn.iocoder.yudao.module.system.controller.admin.mini.goodInfo.discount;

import cn.iocoder.yudao.framework.mybatis.core.dataobject.BaseDO;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.math.BigDecimal;

@Data
@TableName(value = "qd_discount")
public class DiscountDO extends BaseDO {


    /**
     * id主键
     */
    @TableId(value = "id",type = IdType.AUTO)
    private Integer id;
    //折扣名称
    private String name;
    //折扣
    private BigDecimal discount;
    //普通折扣
    private BigDecimal oneDiscount;
    //购买价格
    private BigDecimal price;
    //月
    private Integer month;

}
